<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>graphviz</Name>
        <Homepage>http://www.graphviz.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>CPL-1.0</License>
        <IsA>app:console</IsA>
        <IsA>app:gui</IsA>
        <Summary>Open source graph drawing software</Summary>
        <Description>Graphviz is open source graph visualization software which has web and interactive graphical interfaces, and auxiliary tools and libraries. Graphviz has many useful features for diagrams, such as options for colors, fonts, tabular node layouts, line styles, and custom shapes.</Description>
        <Archive sha1sum="8a44d19bcdb50df1bd8e649de472ebf868468888" type="targz">http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.40.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>gd-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libXaw-devel</Dependency>
            <Dependency>librsvg-devel</Dependency>
            <Dependency>freeglut-devel</Dependency>
            <Dependency>ghostscript-devel</Dependency>
            <Dependency >libtool</Dependency>
            <Dependency >perl</Dependency>
            <Dependency >python-devel</Dependency>            
        </BuildDependencies>
        <!--<Patches>
            <Patch level="1">remove-lib64-postfix.diff</Patch>
        </Patches>-->
    </Source>

    <Package>
        <Name>graphviz</Name>
        <RuntimeDependencies>
            <Dependency>gd</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>libXt</Dependency>            
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libXaw</Dependency>
            <Dependency>libXmu</Dependency>
            <Dependency>librsvg</Dependency>
            <Dependency>ghostscript</Dependency>
            <Dependency>libtool-ltdl</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libX11</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/graphviz</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>graphviz-docs</Name>
        <Files>
            <Path fileType="doc">/usr/share/doc/graphviz/html</Path>
        </Files>
    </Package>

    <Package>
        <Name>graphviz-devel</Name>
        <Summary>Development files for graphviz</Summary>
        <RuntimeDependencies>
            <Dependency release="current">graphviz</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2017-01-18</Date>
            <Version>2.40.1</Version>
            <Comment>new release</Comment>
            <Name>Ali Algul</Name>
            <Email>aligulle3801@gmail.com</Email>
        </Update>
    </History>
</PISI>
